<div id="newsContainer" style="display: none;">
    
</div>
<div id="newsList">
<h3 align="center">Wiadomości</h3>
<ul class="list-group">
  <?php foreach($news as $n): ?>
    <li class="list-group-item" onclick="changeNewsContent(<?php echo($n->getId()); ?>)">
            <?php echo($n->getTheme()); ?><span class="badge"><?php echo($n->getCreatedAt()); ?></span>
    </li>
  <?php endforeach; ?>
</ul>
</div>
